package com.ruoyi.loan.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.sql.Timestamp;
import java.util.Date;

/**
 * Author: 廖振辉
 * Date: 2022/4/4
 * Description:
 */
@TableName(value = "t_loan_record")
@Data
public class LoanRecord {

    @TableId(type = IdType.AUTO)
    Integer id;

    Integer userId;

    Integer amount;

    String reasons;

    Integer type;

    Integer loanYears;

    Integer owingAmount;

    Integer status;

    Integer adminId;

    Date adminTime;

    String visitVoicePath;

    String refuseReasons;

    @TableField(fill = FieldFill.INSERT)
    Timestamp createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    Timestamp updateTime;
}
